package bmatch.tech.hello.web;


import bmatch.tech.hello.resource.CityResource;
import bmatch.tech.hello.resource.DemoResource;
import bmatch.tech.hello.resource.UserResource;
import bmatch.tech.hello.resource.TokenNeededFilter;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.stereotype.Component;


/**
 * JerseyConfig的注释
 *
 * @author: Awake
 * @date: 2018-12-04 22:10
 **/
@Component
public class JerseyConfig extends ResourceConfig {
    public JerseyConfig() {
        register(CityResource.class);
        register(TokenNeededFilter.class);
        register(UserResource.class);
        register(DemoResource.class);
    }
}
